#!/bin/bash
#使用source运行
echo "source <(kubectl completion bash)" >> ~/.bashrc
source ~/.bashrc
